package com.weixin.paleituo.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 我的房产bean
 *
 * @author fengzhen
 * @version v1.0, 2018/4/13
 */
public class MyHouseBean implements Parcelable{

    /**
     * fullname : 1栋1单元302
     * house : 保利叶语
     */

    private String fullname;
    private String house;

    protected MyHouseBean(Parcel in) {
        fullname = in.readString();
        house = in.readString();
    }

    public static final Creator<MyHouseBean> CREATOR = new Creator<MyHouseBean>() {
        @Override
        public MyHouseBean createFromParcel(Parcel in) {
            return new MyHouseBean(in);
        }

        @Override
        public MyHouseBean[] newArray(int size) {
            return new MyHouseBean[size];
        }
    };

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public String getHouse() {
        return house;
    }

    public void setHouse(String house) {
        this.house = house;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(fullname);
        dest.writeString(house);
    }
}
